<div id="module_gallery_hot">
<!--	<div class="header">
		<span>อัลบั้มฮอต</span>
	</div>-->
	<h2 class="moduleHeader headerNews">อัลบั้มฮอต</h2>
	<ul>
		<?php if(!empty($dataModuleGalleryHot)) foreach($dataModuleGalleryHot as $key => $value):?>
		<li>
			<a href="<?php echo $gallery_url.'archives/'.$value->gallery_id.'-'.seo_url($value->gallery_name);?>" target="_blank">
			<div class="image">
				<?php echo exec_image(array(
						'folder'   => 'gallery',
						'dimension'=> '100x65',
						'file_name'=> @$value->image->gallery_file_name.'.'.@$value->image->gallery_file_ext,
						'alt'      => ''.@$value->gallery_name.'',
						'title'    => ''.@$value->gallery_name.''
					)
				);?>	
			</div>
			</a>
			<div class="rank"><?php echo $key+1;?></div>
			<div class="info">
				<a href="<?php echo $gallery_url.'archives/'.$value->gallery_id.'-'.seo_url($value->gallery_name);?>" target="_blank">
					<h2><?php echo $value->gallery_name;?></h2>
				</a>
				<span class="post">
					<?php echo date('d.m.Y',strtotime($value->gallery_date));?><span class="grayLight"> l </span><?php echo number_format($value->views);?> VIEWS
				</span>
			</div>
		</li>
		<?php endforeach;?>
	</ul>
</div>